package com.ruomeng.robot.entity;

import java.util.List;

public class ResponseObject<T> {
	private GlobalErrorCode status = GlobalErrorCode.SUCESS; //错误码
	private String moreInfo;	//额外信息
	private List<String> serverIps;
	private Integer subErrorCode;
	private T data;
	
	
	public int getErrorCode() {
		return status.getErrorCode();
	}
	public String getError() {
		return status.getError();
	}
	public GlobalErrorCode getStatus() {
		return status;
	}
	public void setStatus(GlobalErrorCode status) {
		this.status = status;
	}
	public String getMoreInfo() {
		return moreInfo;
	}
	public void setMoreInfo(String moreInfo) {
		this.moreInfo = moreInfo;
	}
	public List<String> getServerIps() {
		return serverIps;
	}
	public void setServerIps(List<String> serverIps) {
		this.serverIps = serverIps;
	}
	public Integer getSubErrorCode() {
		return subErrorCode;
	}
	public void setSubErrorCode(Integer subErrorCode) {
		this.subErrorCode = subErrorCode;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	
	
}
